if (connection == NULL)
XD_SIGNAL2 (build_string ("No connection"), bus);
+ /* Cleanup. */
+ dbus_error_free (&derror);
+
/* Return the result. */
return connection;
}
}
/* Cleanup. */
+ dbus_error_free (&derror);
dbus_message_unref (dmessage);
dbus_message_unref (reply);
XD_DEBUG_MESSAGE ("Event stored: %s",
SDATA (format2 ("%s", event.arg, Qnil)));
+ /* Cleanup. */
cleanup:
dbus_message_unref (dmessage);
+
RETURN_UNGCPRO (Qnil);
}
XD_ERROR (derror);
}
+ /* Cleanup. */
+ dbus_error_free (&derror);
+
XD_DEBUG_MESSAGE ("Matching rule \"%s\" created", rule);
}
if (NILP (Fmember (key1, value)))
Fputhash (key, Fcons (key1, value), Vdbus_registered_functions_table);
+ /* Cleanup. */
+ dbus_error_free (&derror);
+
/* Return object. */
return list2 (key, list3 (service, path, handler));
}